<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ include file = "/inc/header.jsp" %>

<table width="500" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
<tr>
	<td width="50" bgcolor="#EFEFEF" align="center"><strong>번호</strong></td>
	<td bgcolor="#EFEFEF" align="center"><strong>제목</strong></td>
	<td width="100" bgcolor="#EFEFEF" align="center"><strong>글쓴이</strong></td>
	<td width="150" bgcolor="#EFEFEF" align="center"><strong>날짜</strong></td>
</tr>

<c:forEach var="boardList" items="${boardList }">
<tr>
	<td bgcolor="#FFFFFF" align="center">
		${boardList.SEQ }
	</td>
	<td bgcolor="#FFFFFF">
		<a href="boardView.do?seq=${boardList.SEQ }">${boardList.TITLE }</a>
	</td>
	<td bgcolor="#FFFFFF" align="center">
		${boardList.WRITER }
	</td>
	<td bgcolor="#FFFFFF" align="center">
		${boardList.REGDATE }
	</td>
</tr>
</c:forEach>
<tr>
	<td colspan="4" align="right" bgcolor="#FFFFFF">
		<input type="button" value="글쓰기" onclick="location.href='boardWrite.do';">
	</td>
</tr>
</table>
<%@ include file = "/inc/footer.jsp" %>
